package com.athena.crm.domain.bo;

import com.athena.common.core.domain.BaseEntity;
import com.athena.common.core.validate.AddGroup;
import com.athena.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * CRM客户业务对象 crm_customer
 *
 * @author ruoyi
 * @date 2023-09-10
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class CrmClueTransferCustomerBo extends BaseEntity {

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 姓名
     */
    @NotBlank(message = "姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 公司名称
     */
    @NotBlank(message = "公司名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String comName;

    /**
     * 标签
     */
    private String label;

    /**
     * 客户类型
     */
    @NotBlank(message = "客户类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;

    /**
     * 所属行业
     */
    @NotBlank(message = "所属行业不能为空", groups = { AddGroup.class, EditGroup.class })
    private String industry;

    /**
     * 联系人
     */
    private String contacts;

    /**
     * 地址
     */
    private String address;

    /**
     * 跟进状态
     */
    private String followStatus;

    /**
     * 客户来源
     */
    @NotBlank(message = "客户来源不能为空", groups = { AddGroup.class, EditGroup.class })
    private String customerSources;


}
